package com.cn.admin.service;

import com.cn.admin.entity.User;
import com.cn.admin.entity.UserQuery;
import com.cn.admin.utils.BaseService;
import com.cn.admin.utils.BaseServiceImpl;
import com.cn.admin.vo.ResponseObject;
import com.cn.admin.vo.ResponseUserToken;

public interface UserService extends BaseService<User, UserQuery,Long> {

    User selectByPrimaryKey1(Long id);


    User selectByPrimaryKey2(Long id);


    User selectByUsername(String username);

    ResponseUserToken login(String username, String password);

    int register(User user);
}
